package com.plian.system.entity.pm.property;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 合伙人对外投资情况
 * @author: gangan
 * @create: 2020-07-08 15:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "BasePartnerOutbound对象", description = "合伙人对外投资情况")
public class BasePartnerOutbound {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 主表ID
     */
    @ApiModelProperty(value = "主表ID")
    private String propertyId;

    /**
     * 统一信用编码
     */
    @ApiModelProperty(value = "统一信用编码" , required = true)
    private String code;

    /**
     * 所属行业
     */
    @ApiModelProperty(value = "所属行业", required = true)
    private String industry;


    /**
     * 投资额
     */
    @ApiModelProperty(value = "投资额", required = true)
    private String investmentAmount;

    /**
     * 投资比例
     */
    @ApiModelProperty(value = "投资比例", required = true)
    private String investmentProportion;

    /**
     * 是否实际控制
     */
    @ApiModelProperty(value = "是否实际控制 0否1是", required = true)
    private String isControl;

    /**
     * 标的名称
     */
    @ApiModelProperty(value = "标的名称")
    private String name;


    /**
     * 注册地或所在地
     */
    @ApiModelProperty(value = "注册地或所在地")
    private String registration;

    /**
     * 排序码
     */
    @ApiModelProperty(value = "排序码")
    private String sortCode;

    /**
     * 标的类型 编码081
     */
    @ApiModelProperty(value = "标的类型 编码081")
    private String type;

    @TableField(exist = false)
    @ApiModelProperty(value = "产权来源id", required = true)
    private String propertyDataSourceId;

}
